package com.example.desionMode.cart;

import org.springframework.stereotype.Service;

import java.math.BigDecimal;

/**
 * @author houyangfan
 * @version 1.0
 * @date 2022/8/4 18:25
 */
@Service(value = "InternalUserCart")
public class InternalPerson extends CommonCart{

    @Override
    public void processCouponPrice(Integer uid, Item item) {
        item.setCouponPrice(BigDecimal.ZERO);
    }

    @Override
    public void processDeliveryPrice(Integer uid, Item item) {
        item.setDeliveryPrice(BigDecimal.ZERO);
    }
}
